package com.chiwen.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chiwen.common.annotation.Excel;
import com.chiwen.common.core.domain.BaseEntity;

/**
 * 支付通道对象 sys_payway
 * 
 * @author Dipepr
 * @date 2022-11-13
 */
public class SysPayway extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公告ID */
    private Integer wayId;

    /** 通道名称 */
    @Excel(name = "通道名称")
    private String wayName;

    /** 通道编码 */
    @Excel(name = "通道编码")
    private String wayCode;

    /** 所属平台 */
    @Excel(name = "所属平台")
    private String platform;

    /** 订单数 */
    @Excel(name = "订单数")
    private String orderNum;

    /** 状态 （0正常 1关闭） */
    @Excel(name = "状态 ", readConverterExp = "0=正常,1=关闭")
    private String status;

    /** 交易额 */
    @Excel(name = "交易额")
    private String moeny;

    /** 成功数 */
    @Excel(name = "成功数")
    private String successNum;

    /** 数据隔离 */
    @Excel(name = "数据隔离")
    private Long deptId;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String logicDelect;

    public void setWayId(Integer wayId) 
    {
        this.wayId = wayId;
    }

    public Integer getWayId() 
    {
        return wayId;
    }
    public void setWayName(String wayName) 
    {
        this.wayName = wayName;
    }

    public String getWayName() 
    {
        return wayName;
    }
    public void setWayCode(String wayCode) 
    {
        this.wayCode = wayCode;
    }

    public String getWayCode() 
    {
        return wayCode;
    }
    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setMoeny(String moeny) 
    {
        this.moeny = moeny;
    }

    public String getMoeny() 
    {
        return moeny;
    }
    public void setSuccessNum(String successNum) 
    {
        this.successNum = successNum;
    }

    public String getSuccessNum() 
    {
        return successNum;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setLogicDelect(String logicDelect) 
    {
        this.logicDelect = logicDelect;
    }

    public String getLogicDelect() 
    {
        return logicDelect;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wayId", getWayId())
            .append("wayName", getWayName())
            .append("wayCode", getWayCode())
            .append("platform", getPlatform())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("moeny", getMoeny())
            .append("successNum", getSuccessNum())
            .append("deptId", getDeptId())
            .append("logicDelect", getLogicDelect())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
